package com.springcloud.hysitrix.service;

import org.springframework.stereotype.Component;

/**
 * Title: PaymentFallbackService
 * Description: TODO
 *
 * @author gejx
 * @version V1.0
 * @date 2021-12-30
 */
//统一处理类
@Component
public class PaymentFallbackService implements PaymentService {

    @Override
    public String paymentInfo_ok(Integer id) {
        return "PaymentService fall back paymentInfo_oko(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "PaymentService fall back paymentInfo_Timeout(╥﹏╥)o";
    }
}
